define(function () {
    /*单个分享的内容顶部*/
    return function (data) {
        this.pointNode = document.createElement("div")
        this.pointNode.className = "share-header"
        //判断是否是转发
        if (data) { //不是
            this.pointNode.innerHTML =
                '<a class="logo"><img src="' + data.author.userLogo.thumb_path + '"></a>' +
                '<a class="name">' + data.author.username + '</a>' +
                '<a class="time"><span>' + data.createTime + '</span></a>' +
                '<div class="share-content">' + data.content + '</div>' +
                '<div class="share-header-bottom"></div>'
        }
    }
})